<?php
/**
* 功能: AJAX验证手机验证码是否正确
* 创建日期:Thu Nov 24 09:29:31 CST 2011
* 最后更新:
* 作者: slash
*/

include_once("ThePage.class.php");
$page = new ThePage();

$v_code = isset($_POST) ? $_POST['v_code'] : '';
$user_mob = isset($_POST) ? $_POST['mob'] : '';
if(empty($v_code) || empty($user_mob)){
	echo "0";
	exit;
}
$send_pj = Factory::getItemClass('id5_note');
if($send_pj->check_code($v_code,$user_mob)){
	echo 1;
}else{
	echo "0";
}
?>